rtp-only sessions

This command configures the RTP-Only table, which lets you define RTP-only sessions, whereby RTP-to-RTP sessions are established based on pre-defined configuration (without SIP configuration). These sessions are established upon device startup and remain established (even if no voice) until configuration is deleted or the device is powered down.

Syntax

(config-voip)# rtp-only sessions <Index>
(sessions-<Index>)# 

Command

Description

Index

Defines the table row index.

group-name

Defines a name for the group.

incoming-rtp-payload-type-side-a

Defines the payload type (0-127; -1 is any) of the incoming RTP for leg A.

incoming-rtp-payload-type-side-b

Defines the payload type (0-127; -1 is any) of the incoming RTP for leg B.

local-interface-side-a

Defines the IP Interface (IP Interfaces table) for leg A.

Note: The IP Interface must have at least media for its 'Application Type'.

local-interface-side-b

Defines the IP Interface (IP Interfaces table) for leg B.

Note: The IP Interface must have at least media for its 'Application Type'.

local-udp-port-side-a

Defines the local UDP port for side A.

Local UDP spacing is configured by the [UdpPortSpacing] parameter. It is shared for all session groups and requires a device restart.

The port is calculated as follows:

local-udp-port-side-a + session-count * [UdpPortSpacing]

local-udp-port-side-b

Defines the local UDP port for side B.

Local UDP spacing is configured by the [UdpPortSpacing] parameter. It is shared for all session groups and requires a device restart.

The port is calculated as follows:

local-udp-port-side-b + session-count * [UdpPortSpacing]

remote-ip-side-a

Defines the remote IP address (IPv4 or IPv6) of side A.

remote-ip-side-b

Defines the remote IP address (IPv4 or IPv6) of side B.

remote-port-spacing-a

Defines the remote UDP port spacing between sessions for side A.

Note: Minimum port spacing is 2 (one for RTP and one for RTCP).

remote-port-spacing-b

Defines the remote UDP port spacing between sessions for side B.

Note: Minimum port spacing is 2 (one for RTP and one for RTCP).

remote-udp-port-side-a

Defines the remote UDP port for side A.

The port is calculated as follows:

remote-udp-port-side-a + session-count * remote-port-spacing-a

remote-udp-port-side-b

Defines the remote UDP port for side B.

The port is calculated as follows:

remote-udp-port-side-b + session-count * remote-port-spacing-b

sbc-connection-type {full-duplex|half-duplex}

Defines the connection type - half duplex (A to B); full duplex (A-to-B and B-to-A).

session-count

Defines the number of sessions.

Command Mode

Privileged User

Note

The feature can only be enabled and configured by the Security Administrator user.
This command is applicable only to Mediant VE/CE SBC.
For each session in the group, the local interfaces and remote IPs are shared.

Example

# configure voip
(config-voip)# rtp-only sessions 0
(sessions-0)# group-name media_rtp_1
(sessions-0)# session-count 3
(sessions-0)# local-interface-side-a media1
(sessions-0)# local-interface-side-b media2
(sessions-0)# local-udp-port-side-a 6000
(sessions-0)# local-udp-port-side-b 8000
(sessions-0)# remote-ip-side-a 10.4.2.138
(sessions-0)# remote-ip-side-b 10.4.4.138
(sessions-0)# remote-udp-port-side-a 6000
(sessions-0)# remote-udp-port-side-b 8000
(sessions-0)# remote-port-spacing-a 2
(sessions-0)# remote-port-spacing-b 2
(sessions-0)# sbc-connection-type full-duplex
(sessions-0)# incoming-rtp-payload-type-side-a -1
(sessions-0)# incoming-rtp-payload-type-side-b -1
(sessions-0)# activate